package com.my.selectcoursesystem.dao;

import com.my.selectcoursesystem.bean.Student;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface StudentDao extends JpaRepository<Student, String> {
    Student findByScodeAndSpassword(String s_code, String s_password);
    Student findBySid(String sid);
}
